class CreatePopsicles < ActiveRecord::Migration
  def self.up
    create_table :popsicles do |t|
	  t.integer :public_author_id, :references => :entities
	  t.integer :private_author_id, :references => :entities
	  t.string :type
	  t.string :subject
	  t.string :content
	  
	  #popsicle_id of reply
	  t.integer :prev_popsicle	  
	  
      t.timestamps
    end
  end

  def self.down
    drop_table :popsicles
  end
end
